import type { PaginationParams } from '@/types';

/**
 * 权限管理相关类型定义
 */

// 获取权限列表参数
export interface GetPermissionsParams extends PaginationParams {
  search?: string;
  resource?: string;
  action?: string;
}

// 创建权限数据
export interface CreatePermissionData {
  resource: string;
  action: string;
  description?: string;
}

// 更新权限数据
export interface UpdatePermissionData {
  resource?: string;
  action?: string;
  description?: string;
}


